package com.snowy.hidden.user.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信小程序登录请求参数
 * @author H
 */
@Data
@ApiModel(value = "微信小程序登录请求参数",description = "微信小程序登录请求参数")
public class WechatLoginReq {
    @ApiModelProperty(value = "授权码",required = true)
    @NotBlank(message = "登录授权码不能为空")
    private String code;

    private String scene;
}
